#ifndef LEXEREDIT_H
#define LEXEREDIT_H

#include <QWidget>
#include <QLabel>

class ITheme;
namespace Lexers{
    class ILexer;
}

class HeaderLabel: public QLabel
{
    Q_OBJECT
public:
    HeaderLabel(const QString & txt, QWidget * parent):QLabel(txt, parent){
        setAlignment(Qt::AlignHCenter);
    }
};

class LexerEdit : public QWidget
{
    Q_OBJECT
public:
    explicit LexerEdit(Lexers::ILexer *lex, ITheme * theme, QWidget *parent = 0);
    void save();
signals:

public slots:
private:
    Lexers::ILexer *_lex;
    ITheme * _theme;
};

#endif // LEXEREDIT_H
